<script type="text/javascript">
{$function};
self.close();
</script>